package com.atguigu.dao;


//根据日期查询

//根据日期更新number

import com.atguigu.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

//保存OrderSetting
public interface OrderSettingDao {
    long findOrderDate(OrderSetting orderSetting);

    void editNumberByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map<String, Object> map);

    long findCountByOrderDate(Date orderDate);

    OrderSetting findByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
